package com.mb.app.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.mb.app.domain.TbChanelRepotInfo;
import com.mb.app.dao.TbChanelRepotInfoMapper;
import com.mb.app.service.ITbChanelRepotInfoService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 渠道报表  服务实现类
 * </p>
 *
 * @author liliping
 * @since 2019-04-25
 */
@Service
public class TbChanelRepotInfoServiceImpl extends ServiceImpl<TbChanelRepotInfoMapper, TbChanelRepotInfo> implements ITbChanelRepotInfoService {

    @Override
    public int inserts(TbChanelRepotInfo chanelRepotInfo) {
        return this.baseMapper.insert(chanelRepotInfo);
    }

    @Override
    public List<TbChanelRepotInfo> takeOneHundred() {
        return this.baseMapper.takeOneHundred();
    }

    @Override
    public int delete(Long id) {
        return this.baseMapper.deleteById(id);
    }
}
